package com.intel.two.mapper.smarthome;

import com.intel.two.pojo.smarthome.Household;
import com.intel.two.vo.smarthome.HouseholdVo;

import java.util.List;
import java.util.Map;

/**
 * @BelongsProject: intelligentcommunity
 * @BelongsPackage: com.intel.two.mapper.smarthome
 * @Author: yanhongwei
 * @CreateTime: 2022-10-14  14:48
 * @Description: TODO
 * @Version: 1.0
 */

public interface HouseholdMapper {

//分页查询和模糊查询
    List<Household> householdList(Map<String, Object> parameters);
//多表联查
    List<HouseholdVo> householdList1(Map<String, Object> parameters);
//添加
    int householdAdd(Household household);
//修改
    int householdEdit(Household household);
//删除一个
    int househomesDel(List<Integer> collect);
//批量删除
    int househomeDel(Household household);
//折线图
    List<HouseholdVo> echarts1();

//    List<Household> householdList(Household household);
//导入导出表格
    List<Household> householdExcelData(Household household);
}
